package cn.tedu.review;

/**
 * @Author 金帮嘉诚
 * @Date 2021-06-09 周三 19:19
 */
public class TestConstructor {
    public static void main(String[] args) {
        Cat cat=new Cat();
    }
}
class Cat{
    String name;
    public Cat() {
        System.out.println("Non-parameter");
    }

    public Cat(String name) {
        this.name = name;
    }
}
